package com.wfcm.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 购物车管理
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-03-11 15:08:07
 */
public class WfCollectionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//商品id(依据商品类型取不同的值)
	private Integer foreignid;
	//用户id
	private Integer userid;
	//商品类型（1.课程 2.章节3.vip卡4商品）
	private Integer type;
	//规格（type=4时）
	private String specification;
	//更新时间
	private Date createTime;
	//课程信息
	private WfCourseInfoEntity courseInfoEntity;
	//课程章节
	private WfCourseChapterEntity courseChapterEntity;
	//课程年卡信息
	private WfVipCardEntity vipCardEntity;
	
	public WfCourseInfoEntity getCourseInfoEntity() {
		return courseInfoEntity;
	}
	public void setCourseInfoEntity(WfCourseInfoEntity courseInfoEntity) {
		this.courseInfoEntity = courseInfoEntity;
	}
	public WfCourseChapterEntity getCourseChapterEntity() {
		return courseChapterEntity;
	}
	public void setCourseChapterEntity(WfCourseChapterEntity courseChapterEntity) {
		this.courseChapterEntity = courseChapterEntity;
	}
	public WfVipCardEntity getVipCardEntity() {
		return vipCardEntity;
	}
	public void setVipCardEntity(WfVipCardEntity vipCardEntity) {
		this.vipCardEntity = vipCardEntity;
	}
	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：商品id(依据商品类型取不同的值)
	 */
	public void setForeignid(Integer foreignid) {
		this.foreignid = foreignid;
	}
	/**
	 * 获取：商品id(依据商品类型取不同的值)
	 */
	public Integer getForeignid() {
		return foreignid;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * 获取：用户id
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * 设置：商品类型（1.课程 2.章节3.vip卡4商品）
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：商品类型（1.课程 2.章节3.vip卡4商品）
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：规格（type=4时）
	 */
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	/**
	 * 获取：规格（type=4时）
	 */
	public String getSpecification() {
		return specification;
	}
	/**
	 * 设置：更新时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
}
